<template>
  <div class="container">
    <Header></Header>
    <!-- 中间LOGO -->
    <div class="centerLogo">
      <van-image
        width="134"
        height="45"
        src="//yanxuan.nosdn.127.net/static-union/164793255107785e.png"
      />
    </div>

    <!-- 中间登录块 -->
    <div class="loginBox">
      <van-button to="/phone" class="btn" type="danger">
        <van-icon name="phone-circle-o" />
        <span class="btnText">手机号快捷登录</span>
      </van-button>
      <van-button to="/email" class="btn" plain type="danger">
        <van-icon name="envelop-o" />
        <span class="btnText">邮箱账号登录</span>
      </van-button>
    </div>

    <!-- 底部快捷账号登录选项 -->
    <div class="footerBox">
      <div class="footerItem">
        <div class="itemIcon"><van-icon name="wechat" /></div>
        <div>微信</div>
      </div>
      <div class="footerItem">
        <div class="itemIcon"><van-icon name="qq" /></div>
        <div>QQ</div>
      </div>
      <div class="footerItem">
        <div class="itemIcon"><van-icon name="weibo" /></div>
        <div>微博</div>
      </div>
    </div>

  </div>
</template>

<script lang="ts" setup>

</script>

<script lang="ts">
export default {
  name: 'Login'
}
</script>

<style lang="scss" scoped>
.container{
  .header{ 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px; 
    height: 44px;
    font-size: 30px;
    border-bottom: 1px solid #ddd;
    .headerLogo{
      width:86px;
      height:30px;
    }
    .search{
      width:74px;
      height: 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }
  .centerLogo{
    text-align: center;
    margin-top: 80px;
  }
  .loginBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:50px;
    .btn{
      width:335px;
      height:47px;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      .van-icon{
        font-size: 20px;
        margin-right: 10px;
      }
      .btnText{
        font-size: 16px;
      }
    }
  }
  .footerBox{
    display: flex;
    justify-content: center;
    margin-top:190px;
    .footerItem{
      width:91px;
      height:20px;
      justify-content: center;
      display: flex;
      align-items: center;
      font-size: 16px;
      color:#888;
      border-right: 2px solid #888;
      .itemIcon{
        font-size: 16px;
        margin-right: 5px;
      }
      &:last-of-type{
        border:none;
      }
    }
  }
}

</style>
